package com.zhou.bpm.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 14:07
 */
@Data
public class InstanceRequestDto <T> implements Serializable {

    @ApiModelProperty("流程编码" )
    @NotBlank(message = "流程编码不能为空")
    private String processCode;

    @Valid
    @ApiModelProperty("流程业务数据" )
    private T processData;

}